home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
pcboard
/
pob196_a.zip
/
POB196.PPS
< prev
Wrap
Text File
|
1996-05-27
|
3KB
|
133 lines
string input
string text, text1, text2, text3
int ypos, run
IF (!(ANSION())) then
dispfile ppepath() + "noansi",1+2+4
stop
endif
Dispfile PPEPATH()+PPENAME(), 1+2+4
;Dispfile PPEPATH()+"test", 1+2+4
kbdflush
ypos = getY()
text1 = SCRTEXT(42,ypos,7,true)
text2 = SCRTEXT(54,ypos,10,true)
text3 = SCRTEXT(69,ypos,8,true)
inc ypos
ansipos 2,ypos
print "@X08POB196 1.01 POB(@X0Ac@X08)1996"
ansipos 69,ypos
text = stripatx(text3)
print "@X4F",UPPER(text),"@X07"
run = 3
:cont
input = tinkey(5400)
SELECT CASE INPUT
CASE (CHR(27))
KBDSTUFF "N" + CHR(13)
CASE (CHR(13))," ", "DOWN"
select case run
case 1
KBDSTUFF "NS"+CHR(13)
case 2
ansipos 1,ypos
clreol
KBDSTUFF "N"+CHR(13)
default
ansipos 1,ypos
clreol
KBDSTUFF CHR(13)
endselect
CASE "s","S": KBDSTUFF "NS" + CHR(13)
CASE "N","n","UP"
ansipos 1,ypos
clreol
KBDSTUFF "N" + CHR(13)
case "LEFT"
if (run = 1) then
run = 3
else
dec run
endif
select case run
case 1
ansipos 54,ypos
print text2
ansipos 42,ypos
text = text1
text = stripatx(text)
print "@X4F",UPPER(text),"@X07"
goto cont
case 2
ansipos 69,ypos
print text3
ansipos 54,ypos
text = text2
text = stripatx(text)
print "@X4F",UPPER(text),"@X07"
goto cont
case 3
ansipos 42,ypos
print text1
ansipos 69,ypos
text = text3
text = stripatx(text)
print "@X4F",UPPER(text),"@X07"
goto cont
endselect
case "RIGHT"
if (run = 3) then
run = 1
else
inc run
endif
select case run
case 1
ansipos 69,ypos
print text3
ansipos 42,ypos
text = text1
text = stripatx(text)
print "@X4F",UPPER(text),"@X07"
goto cont
case 2
ansipos 42,ypos
print text1
ansipos 54,ypos
text = text2
text = stripatx(text)
print "@X4F",UPPER(text),"@X07"
goto cont
case 3
ansipos 54,ypos
print text2
ansipos 69,ypos
text = text3
text = stripatx(text)
print "@X4F",UPPER(text),"@X07"
goto cont
endselect
DEFAULT
KBDSTUFF CHR(13)
ENDSELECT
newline
end